package com.zking.mapper;

import com.zking.entity.Seller;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface SellerMapper extends Mapper<Seller> {
    int insert(Seller record);

    int insertSelective(Seller record);

    Seller querySellers(String sellerId);

    List<Seller> selectSellerAll();


    List<Seller> queryBusinessAuditAll();

    Seller queryBusinessAuditByName(String Name);


    Seller querySellerBySellerId(String sellerId);

    int updateStatusTrue(String sellerId);

    int updateStatusFalse(String sellerId);

    int updateSeller(String sellerId, String name2,  String telephone4, String addressDetail2
            , String linkmanName2, String linkmanQq2, String linkmanMobile2, String linkmanEmail2
            , String licenseNumber2, String taxNumber2, String orgNumber2, String legalPerson2
            , String legalPersonCardId2, String bankUser2, String bankName2, String bankAccount2);
}